html, body, ul, li, a, div, img {
    padding:0;
    margin:0;
}

body {
    background: url(../imgs/background.jpg) no-repeat center center fixed;
    -webkit-background-size: cover; /*for webKit*/
    -moz-background-size: cover; /*Mozilla*/
    -o-background-size: cover; /*opera*/
    background-size: cover; /*generic*/
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='.myBackground.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='myBackground.jpg', sizingMethod='scale')";
    font-family:Calibri;
    font-weight:normal;
    font-size:12px;
}

#wrapper {
    width:810px;
    margin: 25px auto;
    text-align:center;
}

#wrapper header {
    width:810px;
}

#wrapper #menu {
    list-style-type:none;
}

#menu li a {
    display:inline-block;
    text-decoration:none;
    color:#fff;
    background: url(../imgs/csg-51bd60ad84bb4.png) no-repeat top left;
    background-position: 0 -61px; 
    width: 200px; 
    height: 60px;
    line-height:44px;
    text-shadow: -2px 0 1px #000000;
    font-size:2em;
}

#menu li a:hover {
    background-position: 0 0; 
    text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 3px #fff, 0 0 4px #f2e3a9, 0 0 5px ;
    color: #e9cd5c;
}

#menu li a:active {
    line-height:55px;
    background-position: 0 -122px; 
}

.gem {
    width: 50px;
    height: 50px;
    background: url('../imgs/PirateTreasure-copy.png');
}

.gem-black {
    background-position: 0 0;
}

.gem-white {
    background-position: -50px 0;
}

.gem-pink {
    background-position: -100px 0;
}

.gem-blue {
    background-position: -150px 0;
}

.gem-red {
    background-position: -200px 0;
}

.gem-yellow {
    background-position: -250px 0;
}

.gem-green {
    background-position: -300px 0;
}

.gem-purple {
    background-position: -350px 0;
}
.selected-1 {
    -webkit-box-shadow: inset 0 0 5px #BC9359;
}

.boardFiled {
    margin: 0 auto;
    background-image: url('../imgs/gameBoard-border.png');
}

#gameField {
    margin: 59px;
    padding-top: 60px;
}

#menuHolder{
    padding: 50px 0; 
}

#menuHolder #menu li:first-child {
    margin-right: 50px;
}

#menuHolder #menu li {
    cursor: pointer;
    float: left;
}

#menuHolder {
    margin: 0 auto;
    width: 450px;
}

#a1-1 {
    position: absolute;
    top: 50px;
    left: 50px;
}

#a1-2 {
    position: absolute;
    top: 50px;
    left: 100px;

}
#a1-3 {
    position: absolute;
    top: 50px;
    left: 150px;

}
#a1-4 {
    position: absolute;
    top: 50px;
    left: 200px;
}
#a1-5 {
    position: absolute;
    top: 50px;
    left: 250px;

}
#a1-6 {
    position: absolute;
    top: 50px;
    left: 300px;
}
#a1-7 {
    position: absolute;
    top: 50px;
    left: 350px;
}
#a1-8 {
    position: absolute;
    top: 50px;
    left: 400px;
}
#a1-9 {
    position: absolute;
    top: 50px;
    left: 450px;
}
#a2-1 {
    position: absolute;
    top: 100px;
    left: 50px;
}
#a2-2 {
    position: absolute;
    top: 100px;
    left: 100px;
}
#a2-3 {
    position: absolute;
    top: 100px;
    left: 150px;
}
#a2-4 {
    position: absolute;
    top: 100px;
    left: 200px;
}
#a2-5 {
    position: absolute;
    top: 100px;
    left: 250px;
}
#a2-6 {
    position: absolute;
    top: 100px;
    left: 300px;
}
#a2-7 {
    position: absolute;
    top: 100px;
    left: 350px;
}
#a2-8 {
    position: absolute;
    top: 100px;
    left: 400px;
}
#a2-9 {
    position: absolute;
    top: 100px;
    left: 450px;
}
#a3-1 {
    position: absolute;
    top: 150px;
    left: 50px;
}
#a3-2 {
    position: absolute;
    top: 150px;
    left: 100px;
}
#a3-3 {
    position: absolute;
    top: 150px;
    left: 150px;
}
#a3-4 {
    position: absolute;
    top: 150px;
    left: 200px;
}
#a3-5 {
    position: absolute;
    top: 150px;
    left: 250px;
}
#a3-6 {
    position: absolute;
    top: 150px;
    left: 300px;
}
#a3-7 {
    position: absolute;
    top: 150px;
    left: 350px;
}
#a3-8 {
    position: absolute;
    top: 150px;
    left: 400px;
}
#a3-9 {
    position: absolute;
    top: 150px;
    left: 450px;
}

#a4-1 {
    position: absolute;
    top: 200px;
    left: 50px;
}
#a4-2 {
    position: absolute;
    top: 200px;
    left: 100px;
}
#a4-3 {
    position: absolute;
    top: 200px;
    left: 150px;
}
#a4-4 {
    position: absolute;
    top: 200px;
    left: 200px;
}
#a4-5 {
    position: absolute;
    top: 200px;
    left: 250px;
}
#a4-6 {
    position: absolute;
    top: 200px;
    left: 300px;
}
#a4-7 {
    position: absolute;
    top: 200px;
    left: 350px;
}
#a4-8 {
    position: absolute;
    top: 200px;
    left: 400px;
}
#a4-9 {
    position: absolute;
    top: 200px;
    left: 450px;
}
#a5-1 {
    position: absolute;
    top: 250px;
    left: 50px;
}
#a5-2 {
    position: absolute;
    top: 250px;
    left: 100px;
}
#a5-3 {
    position: absolute;
    top: 250px;
    left: 150px;
}
#a5-4 {
    position: absolute;
    top: 250px;
    left: 200px;
}
#a5-5 {
    position: absolute;
    top: 250px;
    left: 250px;
}
#a5-6 {
    position: absolute;
    top: 250px;
    left: 300px;
}
#a5-7 {
    position: absolute;
    top: 250px;
    left: 350px;
}
#a5-8 {
    position: absolute;
    top: 250px;
    left: 400px;
}
#a5-9 {
    position: absolute;
    top: 250px;
    left: 450px;
}
#a6-1 {
    position: absolute;
    top: 300px;
    left: 50px;
}
#a6-2 {
    position: absolute;
    top: 300px;
    left: 100px;
}
#a6-3 {
    position: absolute;
    top: 300px;
    left: 150px;
}
#a6-4 {
    position: absolute;
    top: 300px;
    left: 200px;
}
#a6-5 {
    position: absolute;
    top: 300px;
    left: 250px;
}
#a6-6 {
    position: absolute;
    top: 300px;
    left: 300px;
}
#a6-7 {
    position: absolute;
    top: 300px;
    left: 350px;
}
#a6-8 {
    position: absolute;
    top: 300px;
    left: 400px;
}
#a6-9 {
    position: absolute;
    top: 300px;
    left: 450px;
}
#a7-1 {
    position: absolute;
    top: 350px;
    left: 50px;
}
#a7-2 {
    position: absolute;
    top: 350px;
    left: 100px;
}
#a7-3 {
    position: absolute;
    top: 350px;
    left: 150px;
}
#a7-4 {
    position: absolute;
    top: 350px;
    left: 200px;
}
#a7-5 {
    position: absolute;
    top: 350px;
    left: 250px;
}
#a7-6 {
    position: absolute;
    top: 350px;
    left: 300px;
}
#a7-7 {
    position: absolute;
    top: 350px;
    left: 350px;
}
#a7-8 {
    position: absolute;
    top: 350px;
    left: 400px;
}
#a7-9 {
    position: absolute;
    top: 350px;
    left: 450px;
}
#a8-1 {
    position: absolute;
    top: 400px;
    left: 50px;
}
#a8-2 {
    position: absolute;
    top: 400px;
    left: 100px;
}
#a8-3 {
    position: absolute;
    top: 400px;
    left: 150px;
}
#a8-4 {
    position: absolute;
    top: 400px;
    left: 200px;
}
#a8-5 {
    position: absolute;
    top: 400px;
    left: 250px;
}
#a8-6 {
    position: absolute;
    top: 400px;
    left: 300px;
}
#a8-7 {
    position: absolute;
    top: 400px;
    left: 350px;
}
#a8-8 {
    position: absolute;
    top: 400px;
    left: 400px;
}
#a8-9 {
    position: absolute;
    top: 400px;
    left: 450px;
}
#a9-1 {
    position: absolute;
    top: 450px;
    left: 50px;
}
#a9-2 {
    position: absolute;
    top: 450px;
    left: 100px;
}
#a9-3 {
    position: absolute;
    top: 450px;
    left: 150px;
}
#a9-4 {
    position: absolute;
    top: 450px;
    left: 200px;
}
#a9-5 {
    position: absolute;
    top: 450px;
    left: 250px;
}
#a9-6 {
    position: absolute;
    top: 450px;
    left: 300px;
}
#a9-7 {
    position: absolute;
    top: 450px;
    left: 350px;
}
#a9-8 {
    position: absolute;
    top: 450px;
    left: 400px;
}
#a9-9 {
    position: absolute;
    top: 450px;
    left: 450px;
}